Developer --> Technical Publications

     


Working With Certificates

The Keychain Manager provides two functions to give you limited access to certificates. The function KCFindX509Certificates finds certificates in a keychain that match the given search criteria. You set these criteria by passing a bit mask in the options parameter. This mask is described in "Certificate Search Option Mask Constants". The function KCChooseCertificate displays a list of certificates that the user can choose from. If only one certificate is available matching the criteria, KCChooseCertificate does not present a user interface, and instead passes back the certificate reference in the certificate parameter.

Note that both certifcate functions are supported on Mac OS 9, but will not be supported in the first release of OS X.


© 2000 Apple Computer, Inc. (Last Updated 07 April 00)